/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.jg.report.freight.information.dto.shippingnote;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 货物信息
 *
 * @author duanlikao
 * @created 2021/1/4
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GoodsInfo implements Serializable {
    /**
     * 货物名称
     */
    @XStreamAlias("descriptionofgoods")
    private String descriptionOfGoods;
    /**
     * 货物类型 分类代码
     */
    @XStreamAlias("cargotypeclassificationcode")
    private String cargoTypeClassificationCode;
    /**
     * 货物项毛重 重量单位以 KGM 千克 填写数值，保留 3 位小数，如 整数的话，以.000 填充。
     * 小数 点不计入总长。如是轻泡货等 货物，请估算重量。如一笔业 务分几辆车运，需报送每辆车 实际运输的货物重量。
     */
    @XStreamAlias("goodsitemgrossweight")
    private String goodsItemGrossWeight;

    /**
     * 安徽运单三新修改
     */
    private String goodsItemGrossWeightAct;

    /**
     * 体积 ，体积单位以 DMQ 立方 米填写数值，保留 4 位小数， 如整数的话，以.0000 填充。小 数点不计入总长。
     */
    @XStreamAlias("cube")
    private String cube;
    /**
     * 总件数
     */
    @XStreamAlias("totalnumberofpackages")
    private int totalNumberOfPackages;

    public void setDescriptionOfGoods(String descriptionOfGoods) {
        this.descriptionOfGoods = descriptionOfGoods;
    }

    public String getDescriptionOfGoods() {
        return descriptionOfGoods;
    }

    public void setCargoTypeClassificationCode(String cargoTypeClassificationCode) {
        this.cargoTypeClassificationCode = cargoTypeClassificationCode;
    }

    public String getCargoTypeClassificationCode() {
        return cargoTypeClassificationCode;
    }

    public void setGoodsItemGrossWeight(String goodsItemGrossWeight) {
        this.goodsItemGrossWeight = goodsItemGrossWeight;
    }

    public String getGoodsItemGrossWeight() {
        return goodsItemGrossWeight;
    }

    public void setCube(String cube) {
        this.cube = cube;
    }

    public String getCube() {
        return cube;
    }

    public void setTotalNumberOfPackages(int totalNumberOfPackages) {
        this.totalNumberOfPackages = totalNumberOfPackages;
    }

    public int getTotalNumberOfPackages() {
        return totalNumberOfPackages;
    }

}
